home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2009 October / maximum-cd-2009-10.iso / DiscContents / Firefox Setup 3.5.exe / nonlocalized / chrome / toolkit.jar / content / global / printdialog.xul < prev    next >
Encoding:
Extensible Markup Language  |  2009-06-24  |  4.2 KB  |  123 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  4. <!DOCTYPE dialog SYSTEM "chrome://global/locale/printdialog.dtd">
  5.  
  6. <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  7.   onload="onLoad();"
  8.   ondialogaccept="return onAccept();"
  9.   oncancel="return onCancel();"
  10.   buttoniconaccept="print"
  11.   title="&printDialog.title;"
  12.   persist="screenX screenY"
  13.   screenX="24" screenY="24">
  14.  
  15.   <script type="application/javascript" src="chrome://global/content/printdialog.js"/>
  16.  
  17.   <stringbundle id="printingBundle" src="chrome://global/locale/printing.properties"/>
  18.  
  19.   <groupbox>
  20.     <caption label="&printer.label;"/>
  21.  
  22.     <grid>
  23.       <columns>
  24.         <column/>
  25.         <column flex="1"/>
  26.         <column/>
  27.       </columns>
  28.  
  29.       <rows>
  30.         <row align="center">
  31.           <hbox align="center" pack="end">
  32.             <label id="printerLabel"
  33.                    value="&printerInput.label;"
  34.                    accesskey="&printerInput.accesskey;"
  35.                    control="printerList"/>
  36.           </hbox>
  37.           <menulist id="printerList" flex="1" type="description" oncommand="setPrinterDefaultsForSelectedPrinter();"/>
  38.           <button id="properties"
  39.                   label="&propertiesButton.label;"
  40.                   accesskey="&propertiesButton.accesskey;"
  41.                   icon="properties"
  42.                   oncommand="displayPropertiesDialog();"/>
  43.         </row>
  44.         <row align="center">
  45.           <hbox align="center" pack="end">
  46.             <label id="descTextLabel" control="descText" value="&descText.label;"/>
  47.           </hbox>
  48.           <label id="descText"/>
  49.           <checkbox id="fileCheck"
  50.                     checked="false"
  51.                     label="&fileCheck.label;"
  52.                     accesskey="&fileCheck.accesskey;"
  53.                     pack="end"/>
  54.         </row>
  55.       </rows>
  56.     </grid>
  57.   </groupbox>
  58.  
  59.   <hbox>
  60.     <groupbox flex="1">
  61.       <caption label="&printrangeGroup.label;"/>
  62.  
  63.       <radiogroup id="printrangeGroup">
  64.         <radio id="allpagesRadio"
  65.                label="&allpagesRadio.label;"
  66.                accesskey="&allpagesRadio.accesskey;"
  67.                oncommand="doPrintRange(0)"/>
  68.         <hbox align="center">
  69.           <radio id="rangeRadio"
  70.                  label="&rangeRadio.label;"
  71.                  accesskey="&rangeRadio.accesskey;"
  72.                  oncommand="doPrintRange(1)"/>
  73.           <label id="frompageLabel"
  74.                  control="frompageInput"
  75.                  value="&frompageInput.label;"
  76.                  accesskey="&frompageInput.accesskey;"/>
  77.           <textbox id="frompageInput" style="width:5em;" onkeyup="checkInteger(this)"/>
  78.           <label id="topageLabel"
  79.                  control="topageInput"
  80.                  value="&topageInput.label;"
  81.                  accesskey="&topageInput.accesskey;"/>
  82.           <textbox id="topageInput" style="width:5em;" onkeyup="checkInteger(this)"/>
  83.         </hbox>
  84.         <radio id="selectionRadio"
  85.                label="&selectionRadio.label;"
  86.                accesskey="&selectionRadio.accesskey;"
  87.                oncommand="doPrintRange(2)"/>
  88.       </radiogroup>
  89.     </groupbox>
  90.  
  91.     <groupbox flex="1">
  92.       <caption label="&copies.label;"/>
  93.       <hbox align="center">
  94.         <label control="numCopiesInput"
  95.                value="&numCopies.label;"
  96.                accesskey="&numCopies.accesskey;"/>
  97.         <textbox id="numCopiesInput" style="width:5em;" onkeyup="checkInteger(this)"/>
  98.       </hbox>
  99.     </groupbox>
  100.   </hbox>
  101.  
  102.   <groupbox flex="1">
  103.     <caption label="&printframeGroup.label;" id="printframeGroupLabel"/>
  104.     <radiogroup id="printframeGroup">
  105.       <radio id="aslaidoutRadio"
  106.              label="&aslaidoutRadio.label;"
  107.              accesskey="&aslaidoutRadio.accesskey;"/>
  108.       <radio id="selectedframeRadio"
  109.              label="&selectedframeRadio.label;"
  110.              accesskey="&selectedframeRadio.accesskey;"/>
  111.       <radio id="eachframesepRadio"
  112.              label="&eachframesepRadio.label;"
  113.              accesskey="&eachframesepRadio.accesskey;"/>
  114.     </radiogroup>
  115.   </groupbox>
  116.  
  117.   <!-- used to store titles and labels -->
  118.   <data style="display:none;" id="printButton" label="&printButton.label;"/>
  119.   <data style="display:none;" id="fpDialog" label="&fpDialog.title;"/>
  120.  
  121. </dialog>
  122.  
  123.